/**
 * @author:linjiye
 * @date: 2024/12/27
 * @desc: 自定义钩子：useRandomCode
 **/

export function useApiPath(pathSign: string) {
    let path = '';
    switch (pathSign) {
        case 'sys':
            path = 'sys/'
            break
        case 'mm':
            path = 'mm/'
            break
        case 'common':
            path = 'common/'
            break
        default:
            break
    }

    return path;
}